package com.bapoint.springsecurity.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @ClassName Perm
 * @Description TODO
 * @Author 王逸攀
 * @Date 2024/3/13 21:26
 * @Version 1.0
 */
@TableName("t_perm")
@Data
public class Perm {

    @TableId(value = "id",type= IdType.AUTO)
    private Long id;

    @TableField("name")
    private String name;

    @TableField("tag")
    private String tag;

    @TableField("user_id")
    private String userId;

    @TableField(exist = false)
    private User user;

}
